//
//  UIButton+Extension.swift
//  weibo
//
//  Created by GOD on 16/9/2.
//  Copyright © 2016年 磊王. All rights reserved.
//

import UIKit
extension UIButton {
    func buttonImage(image:String,backgroundImage:String) -> () {
        self.imageView?.image = UIImage(named:image)
        self.setBackgroundImage(UIImage(named: backgroundImage), forState: .Normal)
        
    }
}